package com.whcoding.exception.handler.exception;

import com.whcoding.exception.handler.constant.ResultStatus;
import lombok.Getter;

/**
 * @program: spring-boot-learning
 * @description: 运行异常
 * @author: whcoding
 * @create: 2022-05-26 18:04
 **/
@Getter
public class RunException extends BaseException {

	public RunException(ResultStatus status) {
		super(status);
	}

	public RunException() {
		super(ResultStatus.TIME_OUT.getCode(), ResultStatus.TIME_OUT.getMessage());
	}

	public RunException(Integer code, String message) {
		super(code, message);
	}
}
